package lmscript.postscript.syntax;

public class PSReal extends PSNumber {

	private double value;

	public PSReal(double value) {
		super("real");
		this.value = value;
	}

	public PSReal(String text) {
		this(Double.parseDouble(text));
	}

	@Override
	public Number getNumber() {
		return new Double(value);
	}
}
